// 代码块 importM
import 'package:flutter/material.dart';

void main() {
  runApp(MaterialApp(
      home: Scaffold(
          appBar: AppBar(
            title: Text("你好Flutter"),
          ),
          body: const MyApp()
        )
      )
    );
}

// 代码块 statelessW
class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    // TODO: implement build
    return const Center(
            child: Text("你好Flutter",
                textDirection: TextDirection.ltr,
                style: TextStyle(
                    // color: Colors.red
                    color: Color.fromRGBO(244, 244, 123, 1),
                    fontSize: 40)),
          );
  }

}
